//
//  StoreDetailTopToolView.h
//  much
//
//  Created by weijunjie on 2019/1/9.
//  Copyright © 2019年 iOS. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, StoreDetailSwitchType) {
    StoreDetailSwitchGoodsType = 0, // 商品
    StoreDetailSwitchDetailWebType // 详情
};
@interface StoreDetailTopToolView : UIView
@property (nonatomic, copy) void(^switchActionBlock)(StoreDetailSwitchType type);
@property (nonatomic, assign) BOOL slidToBottom;

/**
 通过左右滚动来移动线条位置
 
 @param offSetX 偏移
 */
- (void)moveLineWithOffsetX:(CGFloat)offSetX;
@end

NS_ASSUME_NONNULL_END
